// 1.导入 request
import request from '@/utils/request.js'
// 2.注册
const loginApi = (loginForm) => {
  return request({
    method: 'POST',
    url: '/api/login',
    data: loginForm
  })
}
// 3.导出
export { loginApi }
